* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
}

body {
    background: #f5f5f5;
}

/* 通用盒子样式 */
.box {
    background: white;
    border-radius: 8px;
    /* 设置元素的边框圆角为 8 像素 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    /* 阴影效果 */
    margin-bottom: 20px;
    /* 下外边距为 20 像素 */
    padding: 20px;
    /* 内边距20 */
}

.header {
    padding: 12px 20px;
    /* 设置内边距为上下 12 像素，左右 20 像素 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* 元素添加一个阴影效果。
    其中 “0” 表示水平偏移量为 0，
    “2px” 表示垂直偏移量为 2 像素，
    “4px” 表示模糊半径为 4 像素，
    “rgba (0,0,0,0.1)” 表示阴影颜色为黑色且有 10% 的不透明度。 */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1;
}

.header-container {

    max-width: 100%;
    margin: 0 15%;
    display: flex;
    align-items: center;
}

.logo {
    height: 36px;
}

.nav-list {
    display: flex;
    list-style: none;
    margin-left: 40px;
}

.nav-list li {
    margin: 0 16px;
}

.nav-list a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
}

.search-box {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.search-box input {
    padding: 6px 12px;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    font-size: 14px;
}

.header-actions {
    margin-left: 20px;
}

.header-actions a {
    margin-left: 16px;
    text-decoration: none;
    color: #666;
    font-size: 14px;
}

.main-content {
    max-width: 70%;
    margin: 20px auto;
    display: grid;
    grid-template-areas:
        "comic-info comic-info"
        "chapter-list recommend-side";
    grid-template-columns: 3fr 1fr;
    gap: 20px;
}

.comic-info-container {
    grid-area: comic-info;
    display: flex;
    gap: 20px;
}

.comic-cover {
    width: 20%;
}

.comic-info h1 {
    font-size: 24px;
    margin-bottom: 12px;
}

.comic-meta {
    color: #666;
    margin: 10px 0;
}

.comic-meta span {
    margin-right: 16px;
    font-size: 14px;
}

.operate-btns {
    margin: 20px 0;
}

.start-read {
    background: #00a1e4;
    color: white;
    padding: 8px 24px;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    cursor: pointer;
}

.follow-btn {
    margin-left: 16px;
    background: white;
    color: #666;
    padding: 8px 24px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    cursor: pointer;
}

.chapter-list {
    grid-area: chapter-list;
}

.chapter-filter {
    margin: 15px 0;
}

.filter-btn {
    margin-right: 10px;
    padding: 6px 14px;
    background: #e6f7ff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.chapter-btns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.chapter-item {
    padding: 8px 12px;
    background: #f9f9f9;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.recommend-side {
    grid-area: recommend-side;
}

.recommend-title {
    font-size: 18px;
    margin-bottom: 16px;
}

.recommend-item {
    display: flex;
    align-items: center;
    margin: 12px 0;
}

.rec-cover {
    width: 80px;
    margin-right: 12px;
}

.rec-desc h4 {
    font-size: 16px;
    margin-bottom: 6px;
}

.rec-desc span {
    display: block;
    font-size: 14px;
    color: #666;
}

.comment-item {
    background: white;
    border-radius: 8px;
    /* 设置元素的边框圆角为 8 像素 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    /* 阴影效果 */
    width: 52%;
    margin-left: 15%;
    margin-right: auto;
    padding: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.cmt-box {
    width: 80%;

}

.cmt-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.cmt-title {
    font-size: 24px;
    margin-right: 10px;
}

.cmt-count {
    color: #666;
}

.tab-a {
    color: #333;
    margin-left: 20px;
    text-decoration: none;
}

.cmt-body {
    display: flex;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 5px;
}

.cmt-avatar img {
    border-radius: 50%;
    margin-right: 15px;
}

.cmt-input {
    flex: 1;
    display: flex;
    align-items: center;
}

input {
    flex: 1;
    height: 40px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.tip {
    color: #666;
    margin: 0 10px;
}

.login {
    background: #0096ff;
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
}

.user-info img {
    border-radius: 50%;
    margin-right: 15px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

.container {
    background-color: #1b1b1b;
    width: 100%;
    margin: 0 auto;
    padding: 3% 15%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.top-section {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 30px;
    border-bottom: 1px solid #444;
    /* 保留分割线 */
}

.left-section {
    display: flex;
    align-items: center;
}

.logo {
    width: 40px;
    height: 40px;
    margin-right: 15px;
}

.nav-column {
    margin: 0 50px;
    border-right: 1px solid #444;
    padding-right: 50px;
}

.nav-column a {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin: 8px 0;
}

.social-group {
    display: flex;
    gap: 30px;
}

.social-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-text {
    margin-top: 20px;
    line-height: 1.6;
    color: #999;
}

.cooperative {
    margin-top: 10px;
    display: flex;
    gap: 15px;
}

.footer-text p {
    margin-left: 400px;

}
.quanbu{
    transform: translateY(30px);
}
.chebian{
    position: fixed;
    right: 220px;
    top: 350px;
    height: 230px;
    width: 30px;
    
}
.chebian img{
    width: 80px;
}
   .div2 {
            background-color: white;
            height: 180px;
            width: 56px;
            border-radius: 10px;
        }
        .top1 img{
            margin: 16px;
            width: 24px;
            height: 28px;
            margin-top: 0px;
            margin-bottom: 0px;
           
        }
        .top1{
            font-size: 14px;
             text-align: center;
        }